//
//  DeviceTypeJudge.m
//  gdemm
//
//  Created by 乔明超 on 16/6/2.
//  Copyright © 2016年 Goldencis. All rights reserved.
//

#import "DeviceTypeJudge.h"

@implementation DeviceTypeJudge
+ (BOOL)isPadDeviceType{
    if(UI_USER_INTERFACE_IDIOM()==UIUserInterfaceIdiomPad)
    {
        return YES;
        
    }
    return NO;
}
+(NSInteger)getTitleFont{
    if (UI_USER_INTERFACE_IDIOM()==UIUserInterfaceIdiomPad) {
        return 20;
    }else{
         return 16;
    }
   
}
@end
